﻿using Managistics.Warehouse.Configuration;
using Managistics.Warehouse.Controllers.Interfaces;
using Managistics.Warehouse.Views.Interfaces;
using Managistics.Warehouse.Factories;
using Managistics.Core.Services;

namespace Managistics.Warehouse.Controllers
{
    public class PurchaseReportsController : IPurchaseReportsController
    {
        readonly IPurchaseReportsView fromPurchaseReportsView;

        public PurchaseReportsController(IPurchaseReportsView fromPurchaseReportsView)
        {
            this.fromPurchaseReportsView = fromPurchaseReportsView;
        }

        public void Run()
        {
            fromPurchaseReportsView.Open();
        }

        public void Stop(string key) { }
    }
}